package com.woniuxy.kaer.shop.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 郭建东
 * @since 2025年02月17日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("refund_requests")
public class RefundRequests implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 雪花生成
     */
    @TableId(value = "refund_id", type = IdType.AUTO)
    private String refundId;

    /**
     * 关联服务订单ID
     */
    @TableField("product_order_id")
    private String productOrderId;

    /**
     * 退款原因
     */
    @TableField("refund_reason")
    private String refundReason;

    /**
     * 退款金额
     */
    @TableField("amount")
    private BigDecimal amount;

    /**
     * 退款审核状态0待审核, 1审核中, 2已同意, 3已拒绝, 4已退款
     */
    @TableField("refund_review_state")
    private Integer refundReviewState;

    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 最近更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("A")
    private String a;

    @TableField("B")
    private String b;

    @TableField("C")
    private String c;


}
